package be.bonamis.umpire.domain;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name = "UMPIRE")
@PrimaryKeyJoinColumn(name = "PERSON_ID")
public class Umpire extends Person {

	private String dispoName;
	@ManyToOne
	private Ranking ranking;

	public Ranking getRanking() {
		return ranking;
	}

	public void setRanking(Ranking ranking) {
		this.ranking = ranking;
	}

	public String getDispoName() {
		return dispoName;
	}

	public void setDispoName(String dispoName) {
		this.dispoName = dispoName;
	}

}
